package com.gk.dao;

import com.gk.bean.ZXY_GK_CK_BILL_PRO;
import com.gk.bean.qfdto.OutStockBillDto;
import com.gk.bean.qfdto.OutStockBillIndexDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OutStcokBillDao {
    //销售出库单主单据查询
    OutStockBillIndexDto getXsBillIndexInfo(String billCode);

    //销售出库单明细单据查询
    List<OutStockBillDto> getXsBillInfo(String billCode);

    //采购退货主单据查询
    OutStockBillIndexDto getCgBackBillIndexInfo(String billCode);

    //采购退货明细单查询
    List<OutStockBillDto> getCgBackBillInfo(String billCode);

    //获取报损单主表
    OutStockBillIndexDto getLossBillIndex(String billCode);

    //获取报损单明细
    List<OutStockBillDto> getLossBillDetails(String billCode);

    void ZXY_GK_CK_BILL_PRO(ZXY_GK_CK_BILL_PRO zxy_gk_ck_bill_pro);

    int updateOutQty0(String billCode);
}
